package com.fjec.market.es.document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Document(indexName = "business", type = "business")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessDocument {
    @Id
    private Long id;

    private Long userId;

    private String shopName;

    private int busiType;
}
